package com.jk.controller;

import com.jk.bean.Page;
import com.jk.bean.SendPage;
import com.jk.bean.Staff;
import com.jk.service.PowerService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

@Controller
@RequestMapping("power")
public class PowerController {

    @Resource
    private PowerService powerService;

    @ResponseBody
    @RequestMapping("getQuanXian")
    public SendPage getQuanxian(Staff st,Page page){
        SendPage sd=powerService.getQuanxian(st,page);
        return sd;
    }



}
